﻿<%@ Page Title="Trang quản trị" Language="C#" MasterPageFile="~/admin/admin.master" AutoEventWireup="true" CodeFile="quanlive.aspx.cs" Inherits="admin_quanlive" %>

<%@ Register assembly="DevExpress.Web.ASPxGridView.v9.1, Version=9.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dxwgv" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v9.1, Version=9.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dxe" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div align="center" class="quanlive"><asp:Label ID="Label1" runat="server" 
            Text="Quản Lí Vé"></asp:Label></div>
            <div align="center">
    <dxwgv:ASPxGridView ID="ASPxGridView1" runat="server" 
        AutoGenerateColumns="False" KeyFieldName="mave" 
    onrowdeleting="ASPxGridView1_RowDeleting" 
    onrowupdating="ASPxGridView1_RowUpdating">
        <Columns>
            <dxwgv:GridViewCommandColumn ShowInCustomizationForm="True" VisibleIndex="0" 
                Width="100px">
                <EditButton Visible="True">
                </EditButton>
                <DeleteButton Visible="True">
                </DeleteButton>
            </dxwgv:GridViewCommandColumn>
            <dxwgv:GridViewDataTextColumn Caption="Mã vé" VisibleIndex="1" FieldName="mave">
            </dxwgv:GridViewDataTextColumn>
            <dxwgv:GridViewDataTextColumn Caption="Mã lịch diễn" VisibleIndex="2" FieldName="mald">
            </dxwgv:GridViewDataTextColumn>
            <dxwgv:GridViewDataTextColumn Caption="Ngày đặt" VisibleIndex="3" FieldName="ngaydat">
            </dxwgv:GridViewDataTextColumn>
            <dxwgv:GridViewDataTextColumn Caption="Trạng thái" VisibleIndex="4" FieldName="trangthai">
            </dxwgv:GridViewDataTextColumn>
            <dxwgv:GridViewDataTextColumn Caption="Tài khoản" VisibleIndex="5" FieldName="taikhoan">
            </dxwgv:GridViewDataTextColumn>
            <dxwgv:GridViewDataTextColumn Caption="Mã ghế" VisibleIndex="6" FieldName="masoghe">
            </dxwgv:GridViewDataTextColumn>
        </Columns>
        <SettingsEditing Mode="PopupEditForm" />
        <SettingsText CommandCancel="Hủy" CommandDelete="Xóa" CommandEdit="Sửa" 
            CommandNew="Thêm" CommandUpdate="Lưu" />
    </dxwgv:ASPxGridView>
    </div>
</asp:Content>

